/*
 *  fb矩阵输出
 */
#ifndef _FBMAP_H_
#define _FBMAP_H_
#include <stdint.h>

//指定fb设备
#define FB_PATH "/dev/fb0"

//屏幕宽高(调用一次fb_output之后更新)
extern int fb_width, fb_height;

void fb_output(uint8_t *data, uint32_t offsetX, uint32_t offsetY, uint32_t width, uint32_t height);
void fb_putdot(uint32_t offsetX, uint32_t offsetY,uint32_t color);
#endif
